import { defineStore } from 'pinia'


interface userState {
  role: string
}

export const userUserStore = defineStore({
  id: 'userStore',
  state: (): userState => ({
    role: sessionStorage.getItem('role') ? <string>sessionStorage.getItem('role') : ''
  }),
  getters: {

  },
  actions: {


  }
})